{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load ietf_filters %}
{% load django_bootstrap5 person_filters %}
{% block title %}Manage {{ group.name }} RFC stream{% endblock %}
{% block pagehead %}{{ form.media.css }}{% endblock %}
{% block content %}
    {% origin %}
    <h1>Manage {{ group.name }} RFC stream</h1>
    <p>
        <b>Chair{{ chairs|pluralize }}:</b>
        {% for chair in chairs %}
            {% person_link chair.person %}{% if not forloop.last %},{% endif %}
        {% endfor %}
    </p>
    <p>
        Delegates can be assigned with permission to do the tasks of the
        chair{{ chairs|pluralize }}. Note that in order to actually do so, the delegates need a
        datatracker account. New accounts can be
        <a href="{% url "ietf.ietfauth.views.create_account" %}">created here</a>.
    </p>
    <form method="post">
        {% csrf_token %}
        {% bootstrap_form form %}
        <button type="submit" class="btn btn-primary">Save</button>
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.group.views.streams" %}{{ group.acronym }}">Back</a>
    </form>
{% endblock %}
{% block js %}{{ form.media.js }}{% endblock %}